@layout("/common/_container.html",{js:["/assets/couponLead/couponLead_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="couponLeadForm" lay-filter="couponLeadForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">优惠券ID<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="couponId" name="couponId" placeholder="请输入优惠券ID" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">领券人ID<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="leadUserid" name="leadUserid" placeholder="请输入领券人ID" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">领取时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createTime" name="createTime" placeholder="请输入领取时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">生效时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="beginTime" name="beginTime" placeholder="请输入生效时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">失效时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="endTime" name="endTime" placeholder="请输入失效时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">状态【0：未使用 1：已使用 2：已过期】<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="state" name="state" placeholder="请输入状态【0：未使用 1：已使用 2：已过期】" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}